﻿<UserControl x:Class="PowerSong.UserInterface.FontControl"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d">
    <Grid>
        <ComboBox Height="23" Name="FontNameComboBox" VerticalAlignment="Top" Margin="0,0,84,0" ItemsSource="{Binding}" SelectionChanged="FontNameComboBox_SelectionChanged">
            <ComboBox.ItemTemplate>
                <DataTemplate>
                    <TextBlock Text="{Binding}" FontFamily="{Binding}" FontSize="14" />
                </DataTemplate>
            </ComboBox.ItemTemplate>
        </ComboBox>
        <CheckBox Content="Bold" Height="16" HorizontalAlignment="Left" Margin="0,29,0,0" Name="IsBoldCheckBox" VerticalAlignment="Top" Checked="StyleCheckBoxChanged" Unchecked="StyleCheckBoxChanged" />
        <CheckBox Content="Italic" Height="16" HorizontalAlignment="Left" Margin="47,29,0,0" Name="IsItalicCheckBox" VerticalAlignment="Top" Checked="StyleCheckBoxChanged" Unchecked="StyleCheckBoxChanged" />
        <CheckBox Content="Underline" Height="16" HorizontalAlignment="Left" Margin="95,29,0,0" Name="IsUnderlineCheckBox" VerticalAlignment="Top" Checked="StyleCheckBoxChanged" Unchecked="StyleCheckBoxChanged" />
        <ComboBox Height="23" HorizontalAlignment="Right" Name="FontSizeComboBox" VerticalAlignment="Top" Width="78" SelectionChanged="FontSizeComboBox_SelectionChanged">
            <ComboBox.Items>
                <ComboBoxItem Content="5 %" Tag="0.05" />
                <ComboBoxItem Content="10 %" Tag="0.1" />
                <ComboBoxItem Content="15 %" Tag="0.15" />
                <ComboBoxItem Content="20 %" Tag="0.2" />
                <ComboBoxItem Content="25 %" Tag="0.25" />
                <ComboBoxItem Content="30 %" Tag="0.3" />
                <ComboBoxItem Content="35 %" Tag="0.35" />
                <ComboBoxItem Content="40 %" Tag="0.4" />
                <ComboBoxItem Content="45 %" Tag="0.45" />
                <ComboBoxItem Content="50 %" Tag="0.5" />
                <ComboBoxItem Content="55 %" Tag="0.55" />
                <ComboBoxItem Content="60 %" Tag="0.6" />
                <ComboBoxItem Content="65 %" Tag="0.65" />
                <ComboBoxItem Content="70 %" Tag="0.7" />
                <ComboBoxItem Content="75 %" Tag="0.75" />
                <ComboBoxItem Content="80 %" Tag="0.8" />
                <ComboBoxItem Content="85 %" Tag="0.85" />
                <ComboBoxItem Content="90 %" Tag="0.9" />
                <ComboBoxItem Content="95 %" Tag="0.95" />
                <ComboBoxItem Content="100 %" Tag="1" />
            </ComboBox.Items>
        </ComboBox>
    </Grid>
</UserControl>
